projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be01c53
)
xend: Save the state of PPCIs after hot-plug events.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 31 Mar 2009 10:16:01 +0000
(11:16 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 31 Mar 2009 10:16:01 +0000
(11:16 +0100)
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
tools/python/xen/xend/XendNode.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendNode.py
b/tools/python/xen/xend/XendNode.py
index 61779fa77efe08c528c91d9531bc3b4436d31df6..1a40735cba82e47dc3bc055adc5b42b3edcba5aa 100644
(file)
--- a/
tools/python/xen/xend/XendNode.py
+++ b/
tools/python/xen/xend/XendNode.py
@@
-363,6
+363,8
@@
class XendNode:
ppci_uuid = saved_ppci_table.get(pci_dev.name, uuid.createString())
XendPPCI(ppci_uuid, ppci_record)
+ self.save_PPCIs()
+
def remove_PPCI(self, pci_name):
# Update lspci info
@@
-373,6
+375,8
@@
class XendNode:
ppci_ref = XendPPCI.get_by_sbdf(domain, bus, slot, func)
XendAPIStore.get(ppci_ref, "PPCI").destroy()
+ self.save_PPCIs()
+
def add_PSCSI(self):
# TODO